package chapter_2;

public class Test7 {

    public static void main(String[] args) {
        int[] a = new int[10];
        for (int i : a) {
            System.out.println(i);
        }
        System.out.println("赋值之后");
        for(int i = 0; i < a.length; i++){
            a[i] = 100;
        }
        for (int i : a) {
            System.out.println(i);
        }
    }
}
